# Contributor: TBK <alpine@jjtc.eu>
# Maintainer: TBK <alpine@jjtc.eu>
pkgname=pev
pkgver=0.80
pkgrel=0
pkgdesc="pev the PE file analysis toolkit"
url="http://pev.sourceforge.net/"
arch="all"
license="GPL-2.0-or-later"
options="!check" # No test suite provided
makedepends="bsd-compat-headers linux-headers openssl-dev pcre2-dev"
subpackages="$pkgname-doc"
source="https://sourceforge.net/projects/pev/files/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz
	fix-openssl.patch
	"
builddir="$srcdir/$pkgname"

build() {
	make prefix=/usr
}

package() {
	make prefix=/usr DESTDIR="$pkgdir" install
}

sha512sums="d0c8ff8fcd60470899d5dbccfd7a7e4d960da007f42be9c7eab6b22a3d7cf4dde3c3d5cd9c7d70e369164503fb124640cf508ceda3d4792244cf33d11ab83321  pev-0.80.tar.gz
cca72a19d7e5dd6d7a12ff3dbff6a03dad4764b2ed7126907f8508c7fce569530835fa56eed4d4d0feb221dcf21c08b80b0c9698a0dd7620d0c4d199dad1bc35  fix-openssl.patch"
